package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcWebRtcMac;
import com.csun.cmny.provider.model.dto.webrtc.WebRtcMacQueryDto;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2021-01-07 15:18
 * @Description:
 */
public interface DmcWebRtcMacService extends IService<DmcWebRtcMac> {

    /**
     * 查询mac列表 - 分页
     *
     * @param webRtcMacQueryDto the webrtc mac query dto
     *
     * @return  the list.
     */
    List<DmcWebRtcMac> queryListWithPage(WebRtcMacQueryDto webRtcMacQueryDto);

    /**
     * 保存
     *
     * @param dmcWebRtcMac  the dmc webrtc mac
     * @param loginAuthDto  the login auth dto
     *
     * @return  the int.
     */
    Integer save(DmcWebRtcMac dmcWebRtcMac, LoginAuthDto loginAuthDto);

    /**
     * 根据Id删除
     *
     * @param id    the id
     *
     * @return  the int.
     */
    Integer deleteById(Long id);
}
